package com.pzh.guli.service.statics.feign;

import com.pzh.guli.service.base.result.Result;
import com.pzh.guli.service.statics.feign.fallback.CenterMemberServiceFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "server-user",fallback = CenterMemberServiceFallback.class)
public interface CenterMemberService {
    @GetMapping("/admin/member/count/{day}")
     Result countMemberNumByDay(@PathVariable("day") String day);
}
